import classNames from 'classnames';
import React from 'react';

export interface MainProps {
    children?: React.ReactNode
    className?: string
    style?: React.CSSProperties
}

const Main: React.FC<MainProps> = (props) => {
    const { children, className, style } = props;

    const classes = classNames("yulang-main-container", className)

    return <div className={classes} style={style}>{children}</div>;
};

Main.displayName = 'Main'

export default Main;
